<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>QQ注册验证</title>
</head>
<body>
<img src="image/bg_chs.png">
<h1>注册账号</h1>
<form method="post" action="注册成功.html">
<table>
    <tr>
        <td><label for="昵称">昵称：</label></td>
        <td>
            <input id="昵称" name="昵称" type="text" minlength="4" maxlength="10" pattern="[-\w\u4E00-\u9FA5]{4,10}" required> 长度为4-10个字符
        </td>
    </tr>
    <tr>
        <td><label for="密码">密码：</label></td>
        <td>
            <input id="密码" name="密码" type="password" minlength="6" maxlength="16" pattern="[\dA-Za-z]{6,16}" required> 长度为6-16个字符
        </td>
    </tr>
    <tr>
        <td><label for="确认密码">确认密码：</label></td>
        <td>
            <input id="确认密码" name="确认密码" type="password" minlength="6" maxlength="16" pattern="[\dA-Za-z]{6,16}" required> 长度为6-16个字符
        </td>
    </tr>
    <tr>
        <td><label for="手机号码">手机号码:</label></td>
        <td>
            <input id="手机号码" type="text" name="tel" pattern="^1[3578]\d{9}"/> 密码长度为11位，以13|5|7|8开头
        </td>
    </tr>
    <tr>
        <td><label for="邮箱">邮箱：</label></td>
        <td>
            <input id="邮箱" name="邮箱" type="password" pattern="[1-9]\d{7,10}@qq\.com" required>
        </td>
    </tr>
    <tr>
        <td><label for="年龄">年龄：</label></td>
        <td>
            <input id="年龄" name="年龄" type="text" minlength="1" maxlength="2" pattern="\d|[1-9]\d|1[0-2]\d" required>
        </td>
    </tr>
    <tr>
        <td>
            <input type="image" src="image/btn.bmp"/>
        </td>

    </tr>
</table>
</form>
</table>
</body>
</html>